aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/[username]
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-08-16 16:26:05 -0700
committerAdam Soltys <[email protected]>2022-08-16 16:26:05 -0700
commit724105214e7f151179f7cc48728eb2ae966bdde1 (patch)
tree990f5e50079606ab950fd92f4c00737a4cfbccd2 /src/routes/[username]
parent4418f2556dc78407f2bccdf16643e0d881cdc0bf (diff)
downloadcoinos-ui-724105214e7f151179f7cc48728eb2ae966bdde1.tar.gz
coinos-ui-724105214e7f151179f7cc48728eb2ae966bdde1.zip
endpoint migrations
Diffstat (limited to 'src/routes/[username]')
-rw-r--r--src/routes/[username]/+page.svelte5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/routes/[username]/+page.svelte b/src/routes/[username]/+page.svelte
index c0183883..973e8798 100644
--- a/src/routes/[username]/+page.svelte
+++ b/src/routes/[username]/+page.svelte
@@ -1,12 +1,11 @@
<script>
- throw new Error("@migration task: Add data prop (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292707)");
-
import { browser } from '$app/env';
import { onMount } from 'svelte';
import { AppHeader, Icon, PageNotFound } from '$comp';
import { user } from '$lib/store';
import { copy } from '$lib/utils';
- export let username;
+ export let data;
+ $: ({ username } = data);
let lightningAddress = `${username}@coinos.io`;